import { Column, Entity } from 'typeorm';
import { CommonEntity } from '../../../../util/entity/common.entity';

@Entity('sys_rule_info')
export class RuleInfo extends CommonEntity {
  @Column({ comment: '名称' })
  title: string;

  @Column({ default: 1, comment: '类型' })
  type: number;

  @Column({ default: 1, comment: '排序' })
  sort: number;
}
